import request from "@/utils/request"

export interface QueryCarTypeApplyListParams extends PaginationParams {
  keyword?: string
}
export enum CarTypeApplyStatus {
  未处理 = 1,
  已处理 = 2,
}
export interface CarTypeApply {
  /** 车型名称 */
  carType: string
  createTime: number
  id: number
  nickname: string
  status: CarTypeApplyStatus
  telephone: string
  userId: string
  userImg: string
}
export async function queryCarTypeApplyList(params: QueryCarTypeApplyListParams) {
  return request<CarTypeApply[]>('/app/manager/user/carTypeApplyList', {
    data: params,
  })
}